package org.itsolutions.javaBackup.core.executor;

import org.itsolutions.javaBackup.core.tasks.ITask;
import org.itsolutions.javaBackup.exceptions.AException;

/**
 * 
 * @author Tomas Fecko
 */
public class TaskExecutor {

	/**
	 * 
	 * @param pTaskToExecute task to execute
	 * @throws AException any exception during execution
	 */
	public void execute(ITask<?> pTaskToExecute) throws AException {
		pTaskToExecute.execute();
	}
}





